.. _CTime Class: ========================== CTime Class ========================== .. toctree:: :maxdepth: 1 * :ref:`Overview` * :ref:`Quick Reference` * :ref:`Constructors` ---- .. _CTime_Overview: Overview --------------- .. note:: The **CTime** class handles date and time The structure used for this class is :ref:`CTime` ---- .. _CTime_QuickRef: Quick Reference --------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Quick Ref** | +-------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CTime\:\:CTime**\(`FILETIME `_\& fileTime, int nDST) | +-------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CTime\:\:CTime**\(`SYSTEMTIME `_\& sysTime, int nDST) | +-------------------------------------------------------------------------------------------------------------------------------------------------------+ ---- .. _CTime_Constructors: Constructors --------------- +---------------------------------------+------------------------------------------------------+ | **Name** | **Description** | +---------------------------------------+------------------------------------------------------+ | :ref:`CTime\:\:CTime` | Constructs a ``CTime`` object | +---------------------------------------+------------------------------------------------------+ .. _CTimeCTime: CTime\:\:CTime ^^^^^^^^^^^^^^^^^^^^^^^^^ Constructs a ``CTime`` object :: void CTime::CTime( FILETIME& fileTime, int nDST); **Parameters** * `FILETIME `_\& *fileTime* - a FILETIME structure to be converted to a date/time value and copied into the new ``CTime`` object * ``int`` *nDST* - indicates whether daylight savings time is in effect **Remarks** Constructs a ``CTime`` object ---- CTime\:\:CTime ^^^^^^^^^^^^^^^^^^^^^^^^^ Constructs a ``CTime`` object :: void CTime::CTime( SYSTEMTIME& sysTime, int nDST); **Parameters** * `SYSTEMTIME `_\& *sysTime* - a SYSTEMTIME structure to be converted to a date/time value and copied into the new ``CTime`` object. * ``int`` *nDST* - indicates whether daylight savings time is in effect **Remarks** Constructs a ``CTime`` object